package com.mingyuean.demo.simple;

/**
 * @author MingYueAn
 * <p>  定义 Bean 的配置元信息
 * <p>  2023/3/10 20:27
 * @version: 1.0
 */
public class BeanDefinition {
    /**
     * Bean的类型
     */
    private Class type;
    /**
     * 多例、单例
     */
    private String scope;

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "type=" + type +
                ", scope='" + scope + '\'' +
                '}';
    }

    public Class getType() {
        return type;
    }

    public void setType(Class type) {
        this.type = type;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
